package net.xdclass.online_xdclass.service;

import net.xdclass.online_xdclass.model.entity.User;

import java.util.Map;

/**
 * @author kingtao
 * @date 2022/3/4
 */
public interface UserService {
/**
 * 新增用户
 */
    int save(Map<String, String> userInfo);
    String findByPhoneAndPwd(String phone, String pwd);
    User findByUserId(Integer userId);
}
